home *** CD-ROM | disk | FTP | other *** search
/ BMUG TV-ROM Too / TV-ROM Too™.iso / Applications / MoviePlayer / MoviePlayer.rsrc / CODE_9_PRINTING.txt < prev    next >
Text File  |  1989-08-21  |  49KB  |  893 lines

  1. # far model CODE resource
  2. # near model jump table entries starting at A5 + 0x000003C0 (7 of them)
  3. # far model jump table entries starting at A5 + 0x00000000 (0 of them)
  4. # A5 relocation data at 0x00000000
  5. #   A5 relocation at 0000FFFE
  6. # A5 is 0x00000000
  7. # PC relocation data at 0x00000000
  8. #   PC relocation at 0000FFFE
  9. # load address is 0x00000000
  10. 00000000  4E56 0000                link       A6, 0
  11. 00000004  102D FBB7                move.b     D0, [A5 - 0x449]
  12. 00000008  4E5E                     unlink     A6
  13. 0000000A  4E75                     rts
  14. 0000000C  9547                     subx.w     D2, D7
  15. 0000000E  6574                     bcs        +0x76 /* 00000084 */
  16. 00000010  506F 7374                addq.w     [A7 + 0x7374], 8
  17. 00000014  6572                     bcs        +0x74 /* 00000088 */
  18. 00000016  4672 616D                not.w      <<invalid full ext with IS == 1 and I/IS == 5>>
  19. 0000001A  6553                     bcs        +0x55 /* 0000006F */
  20. 0000001C  6574                     bcs        +0x76 /* 00000092 */
  21. 0000001E  7469                     moveq.l    D2, 0x69
  22. 00000020  6E67                     bgt        +0x69 /* 00000089 */
  23. 00000022  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  24. 00000026  0000 4AAD                ori.b      D0, 0xAD
  25. 0000002A  FBA8                     .invalid   <<F/6/5>>
  26. 0000002C  56C0                     sne        D0
  27. 0000002E  4400                     neg.b      D0
  28. 00000030  4E5E                     unlink     A6
  29. 00000032  4E75                     rts
  30. 00000034  9450                     sub.w      D2, [A0]
  31. 00000036  6167                     bsr        +0x69 /* 0000009F */
  32. 00000038  6553                     bcs        +0x55 /* 0000008D */
  33. 0000003A  6574                     bcs        +0x76 /* 000000B0 */
  34. 0000003C  7570                     moveq.l    D2, 0x70
  35. 0000003E  4861                     pea.l      -[A1]
  36. 00000040  7342                     moveq.l    D1, 0x42
  37. 00000042  6565                     bcs        +0x67 /* 000000A9 */
  38. 00000044  6E44                     bgt        +0x46 /* 0000008A */
  39. 00000046  6F6E                     ble        +0x70 /* 000000B6 */
  40. 00000048  6500 0000                bcs        +0x2 /* 0000004A */
  41. // begin alternate branch 0000004A-00000052
  42. label0000004A:
  43. 0000004A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  44. fn0000004C: // (misaligned)
  45. 0000004E  0000 2F07                ori.b      D0, 0x7
  46. // end alternate branch 0000004A-00000052
  47. label0000004A: // (misaligned)
  48. fn0000004C:
  49. 0000004C  4E56 0000                link       A6, 0
  50. 00000050  2F07                     move.l     -[A7], D7
  51. 00000052  4AAD FBA8                tst.l      [A5 - 0x458]
  52. 00000056  6614                     bne        +0x16 /* 0000006C */
  53. 00000058  7078                     moveq.l    D0, 0x78
  54. 0000005A  A122                     syscall    NewHandle, flags=1
  55. 0000005C  2B48 FBA8                move.l     [A5 - 0x458], A0
  56. 00000060  3E38 0220                move.w     D7, [0x00000220 /* MemErr */]
  57. 00000064  6706                     beq        +0x8 /* 0000006C */
  58. 00000066  7000                     moveq.l    D0, 0x00
  59. 00000068  2B40 FBA8                move.l     [A5 - 0x458], D0
  60. label0000006C:
  61. 0000006C  3007                     move.w     D0, D7
  62. 0000006E  2E2E FFFC                move.l     D7, [A6 - 0x4]
  63. 00000072  4E5E                     unlink     A6
  64. 00000074  4E75                     rts
  65. 00000076  9149                     subx.w     -[A0], -[A1]
  66. 00000078  6E69                     bgt        +0x6B /* 000000E3 */
  67. 0000007A  7450                     moveq.l    D2, 0x50
  68. 0000007C  6167                     bsr        +0x69 /* 000000E5 */
  69. 0000007E  6553                     bcs        +0x55 /* 000000D3 */
  70. 00000080  6574                     bcs        +0x76 /* 000000F6 */
  71. 00000082  7570                     moveq.l    D2, 0x70
  72. label00000084:
  73. 00000084  496E 666F                chk.w      D4, [A6 + 0x666F]
  74. label00000088:
  75. 00000088  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  76. // begin alternate branch 0000008A-00000094
  77. label0000008A:
  78. 0000008A  4E56 0000                link       A6, 0
  79. 0000008E  2B6E 0008 FBB8           move.l     [A5 - 0x448], [A6 + 0x8]
  80. // end alternate branch 0000008A-00000094
  81. label0000008A: // (misaligned)
  82. 0000008C  0000 2B6E                ori.b      D0, 0x6E /* 'n' */
  83. 00000090  0008 FBB8                ori.b      A0, 0xB8
  84. // begin alternate branch 00000092-00000094
  85. label00000092:
  86. 00000092  FBB8                     .invalid   <<F/6/5>>
  87. // end alternate branch 00000092-00000094
  88. label00000092: // (misaligned)
  89. 00000094  4E5E                     unlink     A6
  90. 00000096  4E75                     rts
  91. 00000098  9753                     sub.w      [A3], D3
  92. 0000009A  6574                     bcs        +0x76 /* 00000110 */
  93. 0000009C  5072 696E                addq.w     <<invalid full ext with IS == 1 and I/IS == 6>>, 8
  94. 000000A0  7469                     moveq.l    D2, 0x69
  95. 000000A2  6E67                     bgt        +0x69 /* 0000010B */
  96. 000000A4  4361                     chk.w      D1, -[A1]
  97. 000000A6  6C6C                     bge        +0x6E /* 00000114 */
  98. 000000A8  4261                     clr.w      -[A1]
  99. 000000AA  636B                     bls        +0x6D /* 00000117 */
  100. 000000AC  5072 6F63 0000 4E56 FFE6 addq.w     [[A2] + 0x4E56FFE6], 8
  101. // begin alternate branch 000000B0-000000B6
  102. label000000B0:
  103. 000000B0  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  104. 000000B4  FFE6                     .invalid   <<F/7/7>>
  105. // end alternate branch 000000B0-000000B6
  106. label000000B0: // (misaligned)
  107. label000000B6:
  108. 000000B6  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  109. 000000BA  4247                     clr.w      D7
  110. 000000BC  4AAD FBA8                tst.l      [A5 - 0x458]
  111. 000000C0  660A                     bne        +0xC /* 000000CC */
  112. 000000C2  4EBA FF88                jsr        [PC - 0x78 /* 0000004C */]
  113. 000000C6  3E00                     move.w     D7, D0
  114. 000000C8  6600 01A6                bne        +0x1A8 /* 00000270 */
  115. label000000CC:
  116. 000000CC  4AAD FBA8                tst.l      [A5 - 0x458]
  117. 000000D0  6616                     bne        +0x18 /* 000000E8 */
  118. 000000D2  4EBA FF78                jsr        [PC - 0x88 /* 0000004C */]
  119. 000000D6  3E00                     move.w     D7, D0
  120. 000000D8  6600 018E                bne        +0x190 /* 00000268 */
  121. 000000DC  4AAD FBA8                tst.l      [A5 - 0x458]
  122. 000000E0  6606                     bne        +0x8 /* 000000E8 */
  123. 000000E2  7EFF                     moveq.l    D7, 0xFFFFFFFF
  124. 000000E4  6000 0182                bra        +0x184 /* 00000268 */
  125. label000000E8:
  126. 000000E8  2F3C C800 0000           move.l     -[A7], 0xC8000000
  127. 000000EE  A8FD                     syscall    PrGlue
  128. 000000F0  558F                     subq.l     A7, 2
  129. 000000F2  2F3C BA00 0000           move.l     -[A7], 0xBA000000
  130. // begin alternate branch 000000F6-000000FA
  131. label000000F6:
  132. 000000F6  0000 A8FD                ori.b      D0, 0xFD
  133. // end alternate branch 000000F6-000000FA
  134. label000000F6: // (misaligned)
  135. 000000F8  A8FD                     syscall    PrGlue
  136. 000000FA  3E1F                     move.w     D7, [A7]+
  137. 000000FC  6600 016A                bne        +0x16C /* 00000268 */
  138. 00000100  558F                     subq.l     A7, 2
  139. 00000102  2F2D FBA8                move.l     -[A7], [A5 - 0x458]
  140. 00000106  2F3C 5204 0498           move.l     -[A7], 0x52040498
  141. 0000010C  A8FD                     syscall    PrGlue
  142. 0000010E  1A1F                     move.b     D5, [A7]+
  143. label00000110:
  144. 00000110  558F                     subq.l     A7, 2
  145. 00000112  2F3C BA00 0000           move.l     -[A7], 0xBA000000
  146. // begin alternate branch 00000114-0000011A
  147. label00000114:
  148. 00000114  BA00                     cmp.b      D5, D0
  149. 00000116  0000 A8FD                ori.b      D0, 0xFD
  150. // end alternate branch 00000114-0000011A
  151. label00000114: // (misaligned)
  152. 00000118  A8FD                     syscall    PrGlue
  153. 0000011A  3E1F                     move.w     D7, [A7]+
  154. 0000011C  6600 014A                bne        +0x14C /* 00000268 */
  155. 00000120  4A2E 000B                tst.b      [A6 + 0xB]
  156. 00000124  675E                     beq        +0x60 /* 00000184 */
  157. 00000126  1B6E 001B FBB6           move.b     [A5 - 0x44A], [A6 + 0x1B]
  158. 0000012C  598F                     subq.l     A7, 4
  159. 0000012E  2F2D FBA8                move.l     -[A7], [A5 - 0x458]
  160. 00000132  2F3C 4404 0410           move.l     -[A7], 0x44040410
  161. 00000138  A8FD                     syscall    PrGlue
  162. 0000013A  2B5F FBAC                move.l     [A5 - 0x454], [A7]+
  163. 0000013E  558F                     subq.l     A7, 2
  164. 00000140  2F3C BA00 0000           move.l     -[A7], 0xBA000000
  165. 00000146  A8FD                     syscall    PrGlue
  166. 00000148  3E1F                     move.w     D7, [A7]+
  167. 0000014A  6600 011C                bne        +0x11E /* 00000268 */
  168. 0000014E  2F3C FFFF E001           move.l     -[A7], 0xFFFFE001
  169. 00000154  4878 07E7                push.l     0x7E7
  170. 00000158  4EBA 064A                jsr        [PC + 0x64A /* 000007A4 */]
  171. 0000015C  558F                     subq.l     A7, 2
  172. 0000015E  2F2D FBA8                move.l     -[A7], [A5 - 0x458]
  173. 00000162  486D 040A                pea.l      [A5 + 0x40A /* export_125 */]
  174. 00000166  2F3C 4A04 0894           move.l     -[A7], 0x4A040894
  175. 0000016C  A8FD                     syscall    PrGlue
  176. 0000016E  1C1F                     move.b     D6, [A7]+
  177. 00000170  558F                     subq.l     A7, 2
  178. 00000172  2F3C BA00 0000           move.l     -[A7], 0xBA000000
  179. 00000178  A8FD                     syscall    PrGlue
  180. 0000017A  3E1F                     move.w     D7, [A7]+
  181. 0000017C  504F                     addq.w     A7, 8
  182. 0000017E  6600 00E8                bne        +0xEA /* 00000268 */
  183. 00000182  6002                     bra        +0x4 /* 00000186 */
  184. label00000184:
  185. 00000184  7C01                     moveq.l    D6, 0x01
  186. label00000186:
  187. 00000186  4A06                     tst.b      D6
  188. 00000188  6700 00DC                beq        +0xDE /* 00000266 */
  189. 0000018C  7000                     moveq.l    D0, 0x00
  190. 0000018E  2640                     movea.l    A3, D0
  191. 00000190  598F                     subq.l     A7, 4
  192. 00000192  2F2D FBA8                move.l     -[A7], [A5 - 0x458]
  193. 00000196  7000                     moveq.l    D0, 0x00
  194. 00000198  2F00                     move.l     -[A7], D0
  195. 0000019A  2F00                     move.l     -[A7], D0
  196. 0000019C  2F3C 0400 0C00           move.l     -[A7], 0x4000C00
  197. 000001A2  A8FD                     syscall    PrGlue
  198. 000001A4  285F                     movea.l    A4, [A7]+
  199. 000001A6  558F                     subq.l     A7, 2
  200. 000001A8  2F3C BA00 0000           move.l     -[A7], 0xBA000000
  201. 000001AE  A8FD                     syscall    PrGlue
  202. 000001B0  3E1F                     move.w     D7, [A7]+
  203. 000001B2  6600 00B4                bne        +0xB6 /* 00000268 */
  204. 000001B6  2F0C                     move.l     -[A7], A4
  205. 000001B8  7000                     moveq.l    D0, 0x00
  206. 000001BA  2F00                     move.l     -[A7], D0
  207. 000001BC  2F3C 1000 0808           move.l     -[A7], 0x10000808
  208. 000001C2  A8FD                     syscall    PrGlue
  209. 000001C4  558F                     subq.l     A7, 2
  210. 000001C6  2F3C BA00 0000           move.l     -[A7], 0xBA000000
  211. 000001CC  A8FD                     syscall    PrGlue
  212. 000001CE  3E1F                     move.w     D7, [A7]+
  213. 000001D0  6652                     bne        +0x54 /* 00000224 */
  214. 000001D2  4AAE 000C                tst.l      [A6 + 0xC]
  215. 000001D6  6624                     bne        +0x26 /* 000001FC */
  216. 000001D8  4AAD FBB8                tst.l      [A5 - 0x448]
  217. 000001DC  6604                     bne        +0x6 /* 000001E2 */
  218. 000001DE  7ECE                     moveq.l    D7, 0xFFFFFFCE
  219. 000001E0  6042                     bra        +0x44 /* 00000224 */
  220. label000001E2:
  221. 000001E2  486E 000C                pea.l      [A6 + 0xC]
  222. 000001E6  206D FBB8                movea.l    A0, [A5 - 0x448]
  223. 000001EA  4E90                     jsr        [A0]
  224. 000001EC  3E00                     move.w     D7, D0
  225. 000001EE  584F                     addq.w     A7, 4
  226. 000001F0  6632                     bne        +0x34 /* 00000224 */
  227. 000001F2  4AAE 000C                tst.l      [A6 + 0xC]
  228. 000001F6  6604                     bne        +0x6 /* 000001FC */
  229. 000001F8  7ECE                     moveq.l    D7, 0xFFFFFFCE
  230. 000001FA  6028                     bra        +0x2A /* 00000224 */
  231. label000001FC:
  232. 000001FC  7000                     moveq.l    D0, 0x00
  233. 000001FE  102E 0017                move.b     D0, [A6 + 0x17]
  234. 00000202  2F00                     move.l     -[A7], D0
  235. 00000204  7000                     moveq.l    D0, 0x00
  236. 00000206  102E 0013                move.b     D0, [A6 + 0x13]
  237. 0000020A  2F00                     move.l     -[A7], D0
  238. 0000020C  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  239. 00000210  4EBA 01AC                jsr        [PC + 0x1AC /* 000003BE */]
  240. 00000214  3E00                     move.w     D7, D0
  241. 00000216  2F0C                     move.l     -[A7], A4
  242. 00000218  2F3C 1800 040C           move.l     -[A7], 0x1800040C
  243. 0000021E  A8FD                     syscall    PrGlue
  244. 00000220  4FEF 000C                lea.l      A7, [A7 + 0xC]
  245. label00000224:
  246. 00000224  2F0C                     move.l     -[A7], A4
  247. 00000226  2F3C 0800 0484           move.l     -[A7], 0x8000484
  248. 0000022C  A8FD                     syscall    PrGlue
  249. 0000022E  4A47                     tst.w      D7
  250. 00000230  6636                     bne        +0x38 /* 00000268 */
  251. 00000232  206D FBA8                movea.l    A0, [A5 - 0x458]
  252. 00000236  2050                     movea.l    A0, [A0]
  253. 00000238  4A28 0044                tst.b      [A0 + 0x44]
  254. 0000023C  672A                     beq        +0x2C /* 00000268 */
  255. 0000023E  2F2D FBA8                move.l     -[A7], [A5 - 0x458]
  256. 00000242  7000                     moveq.l    D0, 0x00
  257. 00000244  2F00                     move.l     -[A7], D0
  258. 00000246  2F00                     move.l     -[A7], D0
  259. 00000248  2F00                     move.l     -[A7], D0
  260. 0000024A  486E FFE6                pea.l      [A6 - 0x1A]
  261. 0000024E  2F3C 6005 1480           move.l     -[A7], 0x60051480
  262. 00000254  A8FD                     syscall    PrGlue
  263. 00000256  558F                     subq.l     A7, 2
  264. 00000258  2F3C BA00 0000           move.l     -[A7], 0xBA000000
  265. 0000025E  A8FD                     syscall    PrGlue
  266. 00000260  3E1F                     move.w     D7, [A7]+
  267. 00000262  6604                     bne        +0x6 /* 00000268 */
  268. 00000264  6002                     bra        +0x4 /* 00000268 */
  269. label00000266:
  270. 00000266  7E80                     moveq.l    D7, 0xFFFFFF80
  271. label00000268:
  272. 00000268  2F3C D000 0000           move.l     -[A7], 0xD0000000
  273. 0000026E  A8FD                     syscall    PrGlue
  274. label00000270:
  275. 00000270  4A47                     tst.w      D7
  276. 00000272  6724                     beq        +0x26 /* 00000298 */
  277. 00000274  0C47 FFD5                cmpi.w     D7, 0xFFD5
  278. 00000278  6604                     bne        +0x6 /* 0000027E */
  279. 0000027A  7E35                     moveq.l    D7, 0x35
  280. 0000027C  601A                     bra        +0x1C /* 00000298 */
  281. label0000027E:
  282. 0000027E  0C47 FF94                cmpi.w     D7, 0xFF94
  283. 00000282  6714                     beq        +0x16 /* 00000298 */
  284. 00000284  0C47 4A3F                cmpi.w     D7, 0x4A3F /* 'J?' */
  285. 00000288  670E                     beq        +0x10 /* 00000298 */
  286. 0000028A  0C47 FFCE                cmpi.w     D7, 0xFFCE
  287. 0000028E  6708                     beq        +0xA /* 00000298 */
  288. 00000290  0C47 FF80                cmpi.w     D7, 0xFF80
  289. 00000294  6702                     beq        +0x4 /* 00000298 */
  290. 00000296  7E34                     moveq.l    D7, 0x34
  291. label00000298:
  292. 00000298  3007                     move.w     D0, D7
  293. 0000029A  4CEE 18E0 FFD2           movem.l    D5,D6,D7,A3,A4, [A6 - 0x2E]
  294. 000002A0  4E5E                     unlink     A6
  295. 000002A2  4E75                     rts
  296. 000002A4  8744 6F50                pack       D3, D4, 0x6F50
  297. 000002A8  7269                     moveq.l    D1, 0x69
  298. 000002AA  6E74                     bgt        +0x76 /* 00000320 */
  299. 000002AC  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  300. 000002B0  FFF2                     .invalid   <<F/7/7>>
  301. 000002B2  2F07                     move.l     -[A7], D7
  302. 000002B4  4878 07E7                push.l     0x7E7
  303. 000002B8  2F2D FBAC                move.l     -[A7], [A5 - 0x454]
  304. 000002BC  4EBA 02E4                jsr        [PC + 0x2E4 /* 000005A2 */]
  305. 000002C0  3E00                     move.w     D7, D0
  306. 000002C2  3B47 FBB0                move.w     [A5 - 0x450], D7
  307. 000002C6  2F2D FBAC                move.l     -[A7], [A5 - 0x454]
  308. 000002CA  3F07                     move.w     -[A7], D7
  309. 000002CC  486E FFF2                pea.l      [A6 - 0xE]
  310. 000002D0  486E FFF4                pea.l      [A6 - 0xC]
  311. 000002D4  486E FFF8                pea.l      [A6 - 0x8]
  312. 000002D8  A98D                     syscall    GetDialogItem/GetDItem
  313. 000002DA  4A2D FBB6                tst.b      [A5 - 0x44A]
  314. 000002DE  504F                     addq.w     A7, 8
  315. 000002E0  670C                     beq        +0xE /* 000002EE */
  316. 000002E2  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  317. 000002E6  7000                     moveq.l    D0, 0x00
  318. 000002E8  3F00                     move.w     -[A7], D0
  319. 000002EA  A95D                     syscall    HiliteControl
  320. 000002EC  600A                     bra        +0xC /* 000002F8 */
  321. label000002EE:
  322. 000002EE  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  323. 000002F2  3F3C 00FF                move.w     -[A7], 0xFF
  324. 000002F6  A95D                     syscall    HiliteControl
  325. label000002F8:
  326. 000002F8  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  327. 000002FC  7000                     moveq.l    D0, 0x00
  328. 000002FE  102D FBB7                move.b     D0, [A5 - 0x449]
  329. 00000302  3F00                     move.w     -[A7], D0
  330. 00000304  A963                     syscall    SetControlValue/SetCtlValue
  331. 00000306  206D FBAC                movea.l    A0, [A5 - 0x454]
  332. 0000030A  2B68 00AE FBB2           move.l     [A5 - 0x44E], [A0 + 0xAE]
  333. 00000310  41ED 0412                lea.l      A0, [A5 + 0x412 /* export_126 */]
  334. 00000314  226D FBAC                movea.l    A1, [A5 - 0x454]
  335. 00000318  2348 00AE                move.l     [A1 + 0xAE], A0
  336. 0000031C  2D6D FBAC 000C           move.l     [A6 + 0xC], [A5 - 0x454]
  337. // begin alternate branch 00000320-00000326
  338. label00000320:
  339. 00000320  000C 2E2E                ori.b      A4, 0x2E /* '.' */
  340. 00000324  FFEE                     .invalid   <<F/7/7>>
  341. // end alternate branch 00000320-00000326
  342. label00000320: // (misaligned)
  343. 00000322  2E2E FFEE                move.l     D7, [A6 - 0x12]
  344. 00000326  4E5E                     unlink     A6
  345. 00000328  2E9F                     move.l     [A7], [A7]+
  346. 0000032A  4E75                     rts
  347. 0000032C  8C4D                     or.w       D6, A5
  348. 0000032E  594A                     subq.w     A2, 4
  349. 00000330  4F42                     chk.w      D7, D2
  350. 00000332  444C                     neg.w      A4
  351. 00000334  4749                     chk.w      D3, A1
  352. 00000336  4E49                     trap       9
  353. 00000338  5400                     addq.b     D0, 2
  354. 0000033A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  355. 0000033E  FFF2                     .invalid   <<F/7/7>>
  356. 00000340  48E7 1708                movem.l    -[A7], D3,D5,D6,D7,A4
  357. 00000344  286E 000A                movea.l    A4, [A6 + 0xA]
  358. 00000348  3E2E 0008                move.w     D7, [A6 + 0x8]
  359. 0000034C  3A2D FBB0                move.w     D5, [A5 - 0x450]
  360. 00000350  48C7                     ext.l      D7
  361. 00000352  48C5                     ext.l      D5
  362. 00000354  2007                     move.l     D0, D7
  363. 00000356  9085                     sub.l      D0, D5
  364. 00000358  3C00                     move.w     D6, D0
  365. 0000035A  5246                     addq.w     D6, 1
  366. 0000035C  4A46                     tst.w      D6
  367. 0000035E  6F34                     ble        +0x36 /* 00000394 */
  368. 00000360  2F0C                     move.l     -[A7], A4
  369. 00000362  3F07                     move.w     -[A7], D7
  370. 00000364  486E FFF2                pea.l      [A6 - 0xE]
  371. 00000368  486E FFF4                pea.l      [A6 - 0xC]
  372. 0000036C  486E FFF8                pea.l      [A6 - 0x8]
  373. 00000370  A98D                     syscall    GetDialogItem/GetDItem
  374. 00000372  3006                     move.w     D0, D6
  375. 00000374  5340                     subq.w     D0, 1
  376. 00000376  662A                     bne        +0x2C /* 000003A2 */
  377. 00000378  4A2D FBB7                tst.b      [A5 - 0x449]
  378. 0000037C  57C3                     seq        D3
  379. 0000037E  4403                     neg.b      D3
  380. 00000380  1B43 FBB7                move.b     [A5 - 0x449], D3
  381. 00000384  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  382. 00000388  7000                     moveq.l    D0, 0x00
  383. 0000038A  102D FBB7                move.b     D0, [A5 - 0x449]
  384. 0000038E  3F00                     move.w     -[A7], D0
  385. 00000390  A963                     syscall    SetControlValue/SetCtlValue
  386. 00000392  600E                     bra        +0x10 /* 000003A2 */
  387. label00000394:
  388. 00000394  558F                     subq.l     A7, 2
  389. 00000396  2F0C                     move.l     -[A7], A4
  390. 00000398  3F07                     move.w     -[A7], D7
  391. 0000039A  206D FBB2                movea.l    A0, [A5 - 0x44E]
  392. 0000039E  4E90                     jsr        [A0]
  393. 000003A0  544F                     addq.w     A7, 2
  394. label000003A2:
  395. 000003A2  4CEE 10E8 FFDE           movem.l    D3,D5,D6,D7,A4, [A6 - 0x22]
  396. 000003A8  4E5E                     unlink     A6
  397. 000003AA  205F                     movea.l    A0, [A7]+
  398. 000003AC  5C4F                     addq.w     A7, 6
  399. 000003AE  4ED0                     jmp        [A0]
  400. 000003B0  8A4D                     or.w       D5, A5
  401. 000003B2  594A                     subq.w     A2, 4
  402. 000003B4  4F42                     chk.w      D7, D2
  403. 000003B6  4954                     chk.w      D4, [A4]
  404. 000003B8  454D                     chk.w      D2, A5
  405. 000003BA  5300                     subq.b     D0, 1
  406. 000003BC  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  407. // begin alternate branch 000003BE-000003C6
  408. fn000003BE:
  409. 000003BE  4E56 FEB8                link       A6, -0x0148
  410. 000003C2  48E7 0F08                movem.l    -[A7], D4,D5,D6,D7,A4
  411. // end alternate branch 000003BE-000003C6
  412. fn000003BE: // (misaligned)
  413. 000003C0  FEB8 48E7                .extension 0xEB8 <<F/2-3/7>> // unimplemented
  414. 000003C4  0F08                     btst       A0, D7
  415. 000003C6  182E 0013                move.b     D4, [A6 + 0x13]
  416. 000003CA  286E 0008                movea.l    A4, [A6 + 0x8]
  417. 000003CE  41EE FFCA                lea.l      A0, [A6 - 0x36]
  418. 000003D2  2D48 FFFC                move.l     [A6 - 0x4], A0
  419. 000003D6  4247                     clr.w      D7
  420. 000003D8  486E FF5A                pea.l      [A6 - 0xA6]
  421. 000003DC  A874                     syscall    GetPort
  422. 000003DE  2054                     movea.l    A0, [A4]
  423. 000003E0  43EE FEC0                lea.l      A1, [A6 - 0x140]
  424. 000003E4  5488                     addq.l     A0, 2
  425. 000003E6  22D8                     move.l     [A1]+, [A0]+
  426. 000003E8  22D8                     move.l     [A1]+, [A0]+
  427. 000003EA  206D FBA8                movea.l    A0, [A5 - 0x458]
  428. 000003EE  2050                     movea.l    A0, [A0]
  429. 000003F0  43EE FEB8                lea.l      A1, [A6 - 0x148]
  430. 000003F4  5088                     addq.l     A0, 8
  431. 000003F6  22D8                     move.l     [A1]+, [A0]+
  432. 000003F8  22D8                     move.l     [A1]+, [A0]+
  433. 000003FA  41EE FEC8                lea.l      A0, [A6 - 0x138]
  434. 000003FE  43EE FEC0                lea.l      A1, [A6 - 0x140]
  435. 00000402  20D9                     move.l     [A0]+, [A1]+
  436. 00000404  20D9                     move.l     [A0]+, [A1]+
  437. 00000406  486E FED1                pea.l      [A6 - 0x12F]
  438. 0000040A  486E FEB8                pea.l      [A6 - 0x148]
  439. 0000040E  486E FEC8                pea.l      [A6 - 0x138]
  440. 00000412  4EAD 01B2                jsr        [A5 + 0x1B2 /* export_50 */]
  441. 00000416  486E FEB8                pea.l      [A6 - 0x148]
  442. 0000041A  486E FEC8                pea.l      [A6 - 0x138]
  443. 0000041E  4EAD 01AA                jsr        [A5 + 0x1AA /* export_49 */]
  444. 00000422  4A2E FED1                tst.b      [A6 - 0x12F]
  445. 00000426  4FEF 0014                lea.l      A7, [A7 + 0x14]
  446. 0000042A  6600 013E                bne        +0x140 /* 0000056A */
  447. 0000042E  206E FF5A                movea.l    A0, [A6 - 0xA6]
  448. 00000432  4A68 0006                tst.w      [A0 + 0x6]
  449. 00000436  6D00 0132                blt        +0x134 /* 0000056A */
  450. 0000043A  6000 012E                bra        +0x130 /* 0000056A */
  451. 0000043E  3A3C 0120                move.w     D5, 0x120
  452. 00000442  3C3C 0120                move.w     D6, 0x120
  453. 00000446  41EE FED2                lea.l      A0, [A6 - 0x12E]
  454. 0000044A  43EE FEC0                lea.l      A1, [A6 - 0x140]
  455. 0000044E  20D9                     move.l     [A0]+, [A1]+
  456. 00000450  20D9                     move.l     [A0]+, [A1]+
  457. 00000452  7048                     moveq.l    D0, 0x48
  458. 00000454  2F00                     move.l     -[A7], D0
  459. 00000456  48C6                     ext.l      D6
  460. 00000458  2F06                     move.l     -[A7], D6
  461. 0000045A  48C5                     ext.l      D5
  462. 0000045C  2F05                     move.l     -[A7], D5
  463. 0000045E  486E FED2                pea.l      [A6 - 0x12E]
  464. 00000462  4EAD 018A                jsr        [A5 + 0x18A /* export_45 */]
  465. 00000466  41EE FFD0                lea.l      A0, [A6 - 0x30]
  466. 0000046A  43EE FED2                lea.l      A1, [A6 - 0x12E]
  467. 0000046E  20D9                     move.l     [A0]+, [A1]+
  468. 00000470  20D9                     move.l     [A0]+, [A1]+
  469. 00000472  302E FFD6                move.w     D0, [A6 - 0x2A]
  470. 00000476  48C0                     ext.l      D0
  471. 00000478  322E FFD2                move.w     D1, [A6 - 0x2E]
  472. 0000047C  48C1                     ext.l      D1
  473. 0000047E  9081                     sub.l      D0, D1
  474. 00000480  720F                     moveq.l    D1, 0x0F
  475. 00000482  D081                     add.l      D0, D1
  476. 00000484  7210                     moveq.l    D1, 0x10
  477. 00000486  4EAD 0092                jsr        [A5 + 0x92 /* export_14 */]
  478. 0000048A  D080                     add.l      D0, D0
  479. 0000048C  3D40 FFCE                move.w     [A6 - 0x32], D0
  480. 00000490  48C0                     ext.l      D0
  481. 00000492  322E FFD4                move.w     D1, [A6 - 0x2C]
  482. 00000496  48C1                     ext.l      D1
  483. 00000498  342E FFD0                move.w     D2, [A6 - 0x30]
  484. 0000049C  48C2                     ext.l      D2
  485. 0000049E  9282                     sub.l      D1, D2
  486. 000004A0  4EAD 008A                jsr        [A5 + 0x8A /* export_13 */]
  487. 000004A4  A11E                     syscall    NewPtr, flags=1
  488. 000004A6  2D48 FFCA                move.l     [A6 - 0x36], A0
  489. 000004AA  3D7C 0001 FFEA           move.w     [A6 - 0x16], 0x1
  490. 000004B0  426E FFDA                clr.w      [A6 - 0x26]
  491. 000004B4  7000                     moveq.l    D0, 0x00
  492. 000004B6  2D40 FFDC                move.l     [A6 - 0x24], D0
  493. 000004BA  7248                     moveq.l    D1, 0x48
  494. 000004BC  2D41 FFE0                move.l     [A6 - 0x20], D1
  495. 000004C0  2D41 FFE4                move.l     [A6 - 0x1C], D1
  496. 000004C4  3D7C 0001 FFEC           move.w     [A6 - 0x14], 0x1
  497. 000004CA  3D7C 0001 FFEE           move.w     [A6 - 0x12], 0x1
  498. 000004D0  2D40 FFF0                move.l     [A6 - 0x10], D0
  499. 000004D4  2D40 FFF4                move.l     [A6 - 0xC], D0
  500. 000004D8  2D40 FFF8                move.l     [A6 - 0x8], D0
  501. 000004DC  4AAE FFCA                tst.l      [A6 - 0x36]
  502. 000004E0  4FEF 0010                lea.l      A7, [A7 + 0x10]
  503. 000004E4  6700 0084                beq        +0x86 /* 0000056A */
  504. 000004E8  486E FF5E                pea.l      [A6 - 0xA2]
  505. 000004EC  AA00                     syscall    OpenCPort
  506. 000004EE  486E FF5E                pea.l      [A6 - 0xA2]
  507. 000004F2  A873                     syscall    SetPort
  508. 000004F4  486E FFFC                pea.l      [A6 - 0x4]
  509. 000004F8  AA06                     syscall    SetPortPix/SetCPortPix
  510. 000004FA  2F2E FF76                move.l     -[A7], [A6 - 0x8A]
  511. 000004FE  486E FFD0                pea.l      [A6 - 0x30]
  512. 00000502  A8DF                     syscall    RectRgn
  513. 00000504  2F2E FF7A                move.l     -[A7], [A6 - 0x86]
  514. 00000508  486E FFD0                pea.l      [A6 - 0x30]
  515. 0000050C  A8DF                     syscall    RectRgn
  516. 0000050E  558F                     subq.l     A7, 2
  517. 00000510  2F0C                     move.l     -[A7], A4
  518. 00000512  486E FED2                pea.l      [A6 - 0x12E]
  519. 00000516  7000                     moveq.l    D0, 0x00
  520. 00000518  2F00                     move.l     -[A7], D0
  521. 0000051A  7201                     moveq.l    D1, 0x01
  522. 0000051C  3F01                     move.w     -[A7], D1
  523. 0000051E  2F00                     move.l     -[A7], D0
  524. 00000520  702E                     moveq.l    D0, 0x2E
  525. 00000522  AAA3                     syscall    CodecDispatch
  526. 00000524  3E1F                     move.w     D7, [A7]+
  527. 00000526  4A04                     tst.b      D4
  528. 00000528  6706                     beq        +0x8 /* 00000530 */
  529. 0000052A  486E FEC8                pea.l      [A6 - 0x138]
  530. 0000052E  A8A1                     syscall    FrameRect
  531. label00000530:
  532. 00000530  2F2E FF5A                move.l     -[A7], [A6 - 0xA6]
  533. 00000534  A873                     syscall    SetPort
  534. 00000536  4A47                     tst.w      D7
  535. 00000538  670A                     beq        +0xC /* 00000544 */
  536. 0000053A  4247                     clr.w      D7
  537. 0000053C  206E FFCA                movea.l    A0, [A6 - 0x36]
  538. 00000540  A01F                     syscall    DisposPtr/DisposePtr
  539. 00000542  6026                     bra        +0x28 /* 0000056A */
  540. label00000544:
  541. 00000544  486E FFCA                pea.l      [A6 - 0x36]
  542. 00000548  206E FF5A                movea.l    A0, [A6 - 0xA6]
  543. 0000054C  4868 0002                pea.l      [A0 + 0x2]
  544. 00000550  486E FED2                pea.l      [A6 - 0x12E]
  545. 00000554  486E FEC8                pea.l      [A6 - 0x138]
  546. 00000558  7000                     moveq.l    D0, 0x00
  547. 0000055A  3F00                     move.w     -[A7], D0
  548. 0000055C  7200                     moveq.l    D1, 0x00
  549. 0000055E  2F01                     move.l     -[A7], D1
  550. 00000560  A8EC                     syscall    CopyBits
  551. 00000562  206E FFCA                movea.l    A0, [A6 - 0x36]
  552. 00000566  A01F                     syscall    DisposPtr/DisposePtr
  553. 00000568  6018                     bra        +0x1A /* 00000582 */
  554. label0000056A:
  555. 0000056A  2F0C                     move.l     -[A7], A4
  556. 0000056C  486E FEC8                pea.l      [A6 - 0x138]
  557. 00000570  A8F6                     syscall    DrawPicture
  558. 00000572  558F                     subq.l     A7, 2
  559. 00000574  AA40                     syscall    QDError
  560. 00000576  3E1F                     move.w     D7, [A7]+
  561. 00000578  4A04                     tst.b      D4
  562. 0000057A  6706                     beq        +0x8 /* 00000582 */
  563. 0000057C  486E FEC8                pea.l      [A6 - 0x138]
  564. 00000580  A8A1                     syscall    FrameRect
  565. label00000582:
  566. 00000582  3007                     move.w     D0, D7
  567. 00000584  4CEE 10F0 FEA4           movem.l    D4,D5,D6,D7,A4, [A6 - 0x15C]
  568. 0000058A  4E5E                     unlink     A6
  569. 0000058C  4E75                     rts
  570. 0000058E  9050                     sub.w      D0, [A0]
  571. 00000590  7269                     moveq.l    D1, 0x69
  572. 00000592  6E74                     bgt        +0x76 /* 00000608 */
  573. 00000594  5468 6973                addq.w     [A0 + 0x6973], 2
  574. 00000598  5069 6374                addq.w     [A1 + 0x6374], 8
  575. 0000059C  7572                     moveq.l    D2, 0x72
  576. 0000059E  6500 0000                bcs        +0x2 /* 000005A0 */
  577. // begin alternate branch 000005A0-000005A6
  578. label000005A0:
  579. 000005A0  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  580. fn000005A2: // (misaligned)
  581. 000005A4  FFE0                     .invalid   <<F/7/7>>
  582. // end alternate branch 000005A0-000005A6
  583. label000005A0: // (misaligned)
  584. fn000005A2:
  585. 000005A2  4E56 FFE0                link       A6, -0x0020
  586. 000005A6  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  587. 000005AA  266E 0008                movea.l    A3, [A6 + 0x8]
  588. 000005AE  41EE FFEC                lea.l      A0, [A6 - 0x14]
  589. 000005B2  43EB 0010                lea.l      A1, [A3 + 0x10]
  590. 000005B6  20D9                     move.l     [A0]+, [A1]+
  591. 000005B8  20D9                     move.l     [A0]+, [A1]+
  592. 000005BA  3D6E FFF0 FFE8           move.w     [A6 - 0x18], [A6 - 0x10]
  593. 000005C0  426E FFEA                clr.w      [A6 - 0x16]
  594. 000005C4  302E FFF0                move.w     D0, [A6 - 0x10]
  595. 000005C8  5B40                     subq.w     D0, 5
  596. 000005CA  3D40 FFF0                move.w     [A6 - 0x10], D0
  597. 000005CE  302E FFF2                move.w     D0, [A6 - 0xE]
  598. 000005D2  5B40                     subq.w     D0, 5
  599. 000005D4  3D40 FFF2                move.w     [A6 - 0xE], D0
  600. 000005D8  206B 009C                movea.l    A0, [A3 + 0x9C]
  601. 000005DC  2D48 FFF8                move.l     [A6 - 0x8], A0
  602. 000005E0  2050                     movea.l    A0, [A0]
  603. 000005E2  3010                     move.w     D0, [A0]
  604. 000005E4  5440                     addq.w     D0, 2
  605. 000005E6  3D40 FFFC                move.w     [A6 - 0x4], D0
  606. 000005EA  598F                     subq.l     A7, 4
  607. 000005EC  2F3C 4449 544C           move.l     -[A7], 0x4449544C /* 'DITL' */
  608. 000005F2  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  609. 000005F6  A9A0                     syscall    GetResource
  610. 000005F8  205F                     movea.l    A0, [A7]+
  611. 000005FA  2D48 FFF4                move.l     [A6 - 0xC], A0
  612. 000005FE  A029                     syscall    HLock
  613. 00000600  206E FFF4                movea.l    A0, [A6 - 0xC]
  614. 00000604  2050                     movea.l    A0, [A0]
  615. 00000606  3A10                     move.w     D5, [A0]
  616. label00000608:
  617. 00000608  5245                     addq.w     D5, 1
  618. 0000060A  206E FFF4                movea.l    A0, [A6 - 0xC]
  619. 0000060E  2050                     movea.l    A0, [A0]
  620. 00000610  49E8 0002                lea.l      A4, [A0 + 0x2]
  621. 00000614  7E01                     moveq.l    D7, 0x01
  622. 00000616  6000 00FC                bra        +0xFE /* 00000714 */
  623. label0000061A:
  624. 0000061A  486C 0004                pea.l      [A4 + 0x4]
  625. 0000061E  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  626. 00000622  A8A8                     syscall    OffsetRect
  627. 00000624  486C 0004                pea.l      [A4 + 0x4]
  628. 00000628  486E FFEC                pea.l      [A6 - 0x14]
  629. 0000062C  486E FFEC                pea.l      [A6 - 0x14]
  630. 00000630  A8AB                     syscall    UnionRect
  631. 00000632  426E FFFE                clr.w      [A6 - 0x2]
  632. 00000636  1D6C 000D FFFF           move.b     [A6 - 0x1], [A4 + 0xD]
  633. 0000063C  707F                     moveq.l    D0, 0x7F
  634. 0000063E  C02C 000C                and.b      D0, [A4 + 0xC]
  635. 00000642  6728                     beq        +0x2A /* 0000066C */
  636. 00000644  5900                     subq.b     D0, 4
  637. 00000646  672C                     beq        +0x2E /* 00000674 */
  638. 00000648  5300                     subq.b     D0, 1
  639. 0000064A  6728                     beq        +0x2A /* 00000674 */
  640. 0000064C  5300                     subq.b     D0, 1
  641. 0000064E  6724                     beq        +0x26 /* 00000674 */
  642. 00000650  5300                     subq.b     D0, 1
  643. 00000652  6750                     beq        +0x52 /* 000006A4 */
  644. 00000654  5300                     subq.b     D0, 1
  645. 00000656  6768                     beq        +0x6A /* 000006C0 */
  646. 00000658  5100                     subq.b     D0, 8
  647. 0000065A  6764                     beq        +0x66 /* 000006C0 */
  648. 0000065C  0400 0010                subi.b     D0, 0x10
  649. 00000660  6776                     beq        +0x78 /* 000006D8 */
  650. 00000662  0400 0020                subi.b     D0, 0x20 /* ' ' */
  651. 00000666  677C                     beq        +0x7E /* 000006E4 */
  652. 00000668  6000 0086                bra        +0x88 /* 000006F0 */
  653. label0000066C:
  654. 0000066C  7000                     moveq.l    D0, 0x00
  655. 0000066E  2880                     move.l     [A4], D0
  656. 00000670  6000 0082                bra        +0x84 /* 000006F4 */
  657. label00000674:
  658. 00000674  598F                     subq.l     A7, 4
  659. 00000676  2F0B                     move.l     -[A7], A3
  660. 00000678  486C 0004                pea.l      [A4 + 0x4]
  661. 0000067C  486C 000D                pea.l      [A4 + 0xD]
  662. 00000680  7001                     moveq.l    D0, 0x01
  663. 00000682  1F00                     move.b     -[A7], D0
  664. 00000684  7200                     moveq.l    D1, 0x00
  665. 00000686  3F01                     move.w     -[A7], D1
  666. 00000688  3F01                     move.w     -[A7], D1
  667. 0000068A  7001                     moveq.l    D0, 0x01
  668. 0000068C  3F00                     move.w     -[A7], D0
  669. 0000068E  7403                     moveq.l    D2, 0x03
  670. 00000690  C42C 000C                and.b      D2, [A4 + 0xC]
  671. 00000694  7600                     moveq.l    D3, 0x00
  672. 00000696  1602                     move.b     D3, D2
  673. 00000698  3F03                     move.w     -[A7], D3
  674. 0000069A  7000                     moveq.l    D0, 0x00
  675. 0000069C  2F00                     move.l     -[A7], D0
  676. 0000069E  A954                     syscall    NewControl
  677. 000006A0  289F                     move.l     [A4], [A7]+
  678. 000006A2  6050                     bra        +0x52 /* 000006F4 */
  679. label000006A4:
  680. 000006A4  598F                     subq.l     A7, 4
  681. 000006A6  3F2C 000E                move.w     -[A7], [A4 + 0xE]
  682. 000006AA  2F0B                     move.l     -[A7], A3
  683. 000006AC  A9BE                     syscall    GetNewControl
  684. 000006AE  205F                     movea.l    A0, [A7]+
  685. 000006B0  2888                     move.l     [A4], A0
  686. 000006B2  2050                     movea.l    A0, [A0]
  687. 000006B4  5088                     addq.l     A0, 8
  688. 000006B6  224C                     movea.l    A1, A4
  689. 000006B8  5889                     addq.l     A1, 4
  690. 000006BA  20D9                     move.l     [A0]+, [A1]+
  691. 000006BC  20D9                     move.l     [A0]+, [A1]+
  692. 000006BE  6034                     bra        +0x36 /* 000006F4 */
  693. label000006C0:
  694. 000006C0  558F                     subq.l     A7, 2
  695. 000006C2  486C 000E                pea.l      [A4 + 0xE]
  696. 000006C6  2F0C                     move.l     -[A7], A4
  697. 000006C8  302E FFFE                move.w     D0, [A6 - 0x2]
  698. 000006CC  48C0                     ext.l      D0
  699. 000006CE  2F00                     move.l     -[A7], D0
  700. 000006D0  4EAD 00E2                jsr        [A5 + 0xE2 /* export_24 */]
  701. 000006D4  381F                     move.w     D4, [A7]+
  702. 000006D6  601C                     bra        +0x1E /* 000006F4 */
  703. label000006D8:
  704. 000006D8  598F                     subq.l     A7, 4
  705. 000006DA  3F2C 000E                move.w     -[A7], [A4 + 0xE]
  706. 000006DE  A9BB                     syscall    GetIcon
  707. 000006E0  289F                     move.l     [A4], [A7]+
  708. 000006E2  6010                     bra        +0x12 /* 000006F4 */
  709. label000006E4:
  710. 000006E4  598F                     subq.l     A7, 4
  711. 000006E6  3F2C 000E                move.w     -[A7], [A4 + 0xE]
  712. 000006EA  A9BC                     syscall    GetPicture
  713. 000006EC  289F                     move.l     [A4], [A7]+
  714. 000006EE  6004                     bra        +0x6 /* 000006F4 */
  715. label000006F0:
  716. 000006F0  7000                     moveq.l    D0, 0x00
  717. 000006F2  2880                     move.l     [A4], D0
  718. label000006F4:
  719. 000006F4  302E FFFE                move.w     D0, [A6 - 0x2]
  720. 000006F8  48C0                     ext.l      D0
  721. 000006FA  5280                     addq.l     D0, 1
  722. 000006FC  2C3C 0000 FFFE           move.l     D6, 0xFFFE
  723. 00000702  CC80                     and.l      D6, D0
  724. 00000704  48C6                     ext.l      D6
  725. 00000706  200C                     move.l     D0, A4
  726. 00000708  D086                     add.l      D0, D6
  727. 0000070A  720E                     moveq.l    D1, 0x0E
  728. 0000070C  D081                     add.l      D0, D1
  729. 0000070E  2840                     movea.l    A4, D0
  730. 00000710  3007                     move.w     D0, D7
  731. 00000712  5247                     addq.w     D7, 1
  732. label00000714:
  733. 00000714  BA47                     cmp.w      D5, D7
  734. 00000716  6C00 FF02                bge        -0xFC /* 0000061A */
  735. 0000071A  206E FFF4                movea.l    A0, [A6 - 0xC]
  736. 0000071E  2050                     movea.l    A0, [A0]
  737. 00000720  5488                     addq.l     A0, 2
  738. 00000722  226E FFF8                movea.l    A1, [A6 - 0x8]
  739. 00000726  2D48 FFE4                move.l     [A6 - 0x1C], A0
  740. 0000072A  2D49 FFE0                move.l     [A6 - 0x20], A1
  741. 0000072E  598F                     subq.l     A7, 4
  742. 00000730  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  743. 00000734  4EAD 00AA                jsr        [A5 + 0xAA /* export_17 */]
  744. 00000738  201F                     move.l     D0, [A7]+
  745. 0000073A  5580                     subq.l     D0, 2
  746. 0000073C  206E FFE4                movea.l    A0, [A6 - 0x1C]
  747. 00000740  226E FFE0                movea.l    A1, [A6 - 0x20]
  748. 00000744  A9EF                     syscall    PtrAndHand
  749. 00000746  3800                     move.w     D4, D0
  750. 00000748  206E FFF8                movea.l    A0, [A6 - 0x8]
  751. 0000074C  2050                     movea.l    A0, [A0]
  752. 0000074E  3005                     move.w     D0, D5
  753. 00000750  D050                     add.w      D0, [A0]
  754. 00000752  206E FFF8                movea.l    A0, [A6 - 0x8]
  755. 00000756  2050                     movea.l    A0, [A0]
  756. 00000758  3080                     move.w     [A0], D0
  757. 0000075A  206E FFF4                movea.l    A0, [A6 - 0xC]
  758. 0000075E  A02A                     syscall    HUnlock
  759. 00000760  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  760. 00000764  A9A3                     syscall    ReleaseResource
  761. 00000766  302E FFF0                move.w     D0, [A6 - 0x10]
  762. 0000076A  5A40                     addq.w     D0, 5
  763. 0000076C  3D40 FFF0                move.w     [A6 - 0x10], D0
  764. 00000770  302E FFF2                move.w     D0, [A6 - 0xE]
  765. 00000774  5A40                     addq.w     D0, 5
  766. 00000776  3D40 FFF2                move.w     [A6 - 0xE], D0
  767. 0000077A  2F0B                     move.l     -[A7], A3
  768. 0000077C  2F2E FFF0                move.l     -[A7], [A6 - 0x10]
  769. 00000780  7001                     moveq.l    D0, 0x01
  770. 00000782  1F00                     move.b     -[A7], D0
  771. 00000784  A91D                     syscall    SizeWindow
  772. 00000786  302E FFFC                move.w     D0, [A6 - 0x4]
  773. 0000078A  4CEE 18F8 FFC4           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x3C]
  774. 00000790  4E5E                     unlink     A6
  775. 00000792  4E75                     rts
  776. 00000794  8D41 7070                pack       D6, D1, 0x7070
  777. 00000798  656E                     bcs        +0x70 /* 00000808 */
  778. 0000079A  6454                     bcc        +0x56 /* 000007F0 */
  779. 0000079C  6865                     bvc        +0x67 /* 00000803 */
  780. 0000079E  4449                     neg.w      A1
  781. 000007A0  544C                     addq.w     A4, 2
  782. 000007A2  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  783. // begin alternate branch 000007A4-000007A8
  784. fn000007A4:
  785. 000007A4  4E56 FFF8                link       A6, -0x0008
  786. // end alternate branch 000007A4-000007A8
  787. fn000007A4: // (misaligned)
  788. 000007A6  FFF8                     .invalid   <<F/7/7>>
  789. 000007A8  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  790. 000007AC  3E2E 000E                move.w     D7, [A6 + 0xE]
  791. 000007B0  598F                     subq.l     A7, 4
  792. 000007B2  2F3C 6864 6C67           move.l     -[A7], 0x68646C67 /* 'hdlg' */
  793. 000007B8  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  794. 000007BC  A9A0                     syscall    GetResource
  795. 000007BE  265F                     movea.l    A3, [A7]+
  796. 000007C0  200B                     move.l     D0, A3
  797. 000007C2  6700 00BE                beq        +0xC0 /* 00000882 */
  798. 000007C6  7000                     moveq.l    D0, 0x00
  799. 000007C8  1F00                     move.b     -[A7], D0
  800. 000007CA  A99B                     syscall    SetResLoad
  801. 000007CC  598F                     subq.l     A7, 4
  802. 000007CE  2F3C 6864 6C67           move.l     -[A7], 0x68646C67 /* 'hdlg' */
  803. 000007D4  3F07                     move.w     -[A7], D7
  804. 000007D6  A9A0                     syscall    GetResource
  805. 000007D8  285F                     movea.l    A4, [A7]+
  806. 000007DA  7001                     moveq.l    D0, 0x01
  807. 000007DC  1F00                     move.b     -[A7], D0
  808. 000007DE  A99B                     syscall    SetResLoad
  809. 000007E0  4A94                     tst.l      [A4]
  810. 000007E2  660E                     bne        +0x10 /* 000007F2 */
  811. 000007E4  598F                     subq.l     A7, 4
  812. 000007E6  2F3C 6864 6C67           move.l     -[A7], 0x68646C67 /* 'hdlg' */
  813. 000007EC  3F07                     move.w     -[A7], D7
  814. 000007EE  A9A0                     syscall    GetResource
  815. label000007F0:
  816. 000007F0  285F                     movea.l    A4, [A7]+
  817. label000007F2:
  818. 000007F2  204C                     movea.l    A0, A4
  819. 000007F4  A069                     syscall    HGetState
  820. 000007F6  1800                     move.b     D4, D0
  821. 000007F8  200C                     move.l     D0, A4
  822. 000007FA  6700 0086                beq        +0x88 /* 00000882 */
  823. 000007FE  2013                     move.l     D0, [A3]
  824. 00000800  720E                     moveq.l    D1, 0x0E
  825. 00000802  D081                     add.l      D0, D1
  826. 00000804  2D40 FFF8                move.l     [A6 - 0x8], D0
  827. label00000808:
  828. 00000808  2040                     movea.l    A0, D0
  829. 0000080A  3E10                     move.w     D7, [A0]
  830. 0000080C  598F                     subq.l     A7, 4
  831. 0000080E  2F0B                     move.l     -[A7], A3
  832. 00000810  4EAD 00AA                jsr        [A5 + 0xAA /* export_17 */]
  833. 00000814  201F                     move.l     D0, [A7]+
  834. 00000816  48C7                     ext.l      D7
  835. 00000818  720E                     moveq.l    D1, 0x0E
  836. 0000081A  9287                     sub.l      D1, D7
  837. 0000081C  3A00                     move.w     D5, D0
  838. 0000081E  9A41                     sub.w      D5, D1
  839. 00000820  598F                     subq.l     A7, 4
  840. 00000822  2F0C                     move.l     -[A7], A4
  841. 00000824  4EAD 00AA                jsr        [A5 + 0xAA /* export_17 */]
  842. 00000828  201F                     move.l     D0, [A7]+
  843. 0000082A  3C00                     move.w     D6, D0
  844. 0000082C  204C                     movea.l    A0, A4
  845. 0000082E  48C6                     ext.l      D6
  846. 00000830  48C5                     ext.l      D5
  847. 00000832  2006                     move.l     D0, D6
  848. 00000834  D085                     add.l      D0, D5
  849. 00000836  A024                     syscall    SetHandleSize
  850. 00000838  4A78 0220                tst.w      [0x00000220 /* MemErr */]
  851. 0000083C  6648                     bne        +0x4A /* 00000886 */
  852. 0000083E  48C6                     ext.l      D6
  853. 00000840  2006                     move.l     D0, D6
  854. 00000842  D094                     add.l      D0, [A4]
  855. 00000844  2D40 FFFC                move.l     [A6 - 0x4], D0
  856. 00000848  2013                     move.l     D0, [A3]
  857. 0000084A  720E                     moveq.l    D1, 0x0E
  858. 0000084C  D081                     add.l      D0, D1
  859. 0000084E  48C7                     ext.l      D7
  860. 00000850  D087                     add.l      D0, D7
  861. 00000852  2D40 FFF8                move.l     [A6 - 0x8], D0
  862. 00000856  204B                     movea.l    A0, A3
  863. 00000858  A029                     syscall    HLock
  864. 0000085A  204C                     movea.l    A0, A4
  865. 0000085C  A029                     syscall    HLock
  866. 0000085E  206E FFF8                movea.l    A0, [A6 - 0x8]
  867. 00000862  226E FFFC                movea.l    A1, [A6 - 0x4]
  868. 00000866  48C5                     ext.l      D5
  869. 00000868  2005                     move.l     D0, D5
  870. 0000086A  A02E                     syscall    BlockMove/BlockMoveData
  871. 0000086C  204B                     movea.l    A0, A3
  872. 0000086E  A02A                     syscall    HUnlock
  873. 00000870  204C                     movea.l    A0, A4
  874. 00000872  1004                     move.b     D0, D4
  875. 00000874  A06A                     syscall    HSetState
  876. 00000876  2054                     movea.l    A0, [A4]
  877. 00000878  2253                     movea.l    A1, [A3]
  878. 0000087A  3029 000C                move.w     D0, [A1 + 0xC]
  879. 0000087E  D168 000C                add.w      [A0 + 0xC], D0
  880. label00000882:
  881. 00000882  2F0B                     move.l     -[A7], A3
  882. 00000884  A9A3                     syscall    ReleaseResource
  883. label00000886:
  884. 00000886  4CEE 18F0 FFE0           movem.l    D4,D5,D6,D7,A3,A4, [A6 - 0x20]
  885. 0000088C  4E5E                     unlink     A6
  886. 0000088E  4E75                     rts
  887. 00000890  8B41 7070                pack       D5, D1, 0x7070
  888. 00000894  656E                     bcs        +0x70 /* 00000904 */
  889. 00000896  6432                     bcc        +0x34 /* 000008CA */
  890. 00000898  6864                     bvc        +0x66 /* 000008FE */
  891. 0000089A  6C67                     bge        +0x69 /* 00000903 */
  892. 0000089C  0000                     .incomplete
  893.